package com.sdleyou.treepro.common.model.dao;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.TimeZone;

public class SignIn {

    private Date signInDay;
    public SignIn(){
    }

    public SignIn(String day) throws ParseException {
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
        setSignInDay(sdf.parse(day));
    }

    public Date getSignInDay() {
        return signInDay;
    }

    public void setSignInDay(Date signInDay) {
        this.signInDay = signInDay;
    }

}